//
//  UEServerInterface.h
//  UEHtml-iOS
//
//  Created by Qun He on 13-9-24.
//  Copyright (c) 2013年 Qun He. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UEServerConfig.h"

@interface UEServerInterface : NSObject
{
    MKNetworkEngine *engine;
}

@property(nonatomic, assign) SEL redirectMethod;
@property(nonatomic, assign) BOOL hasError;

@property (nonatomic, assign) id<NSObject> delegate;
@property (nonatomic, assign) int statusCode;
@property(nonatomic, copy) NSString* errorMessage;
@property(nonatomic, copy) NSString* errorDetail;
@property (nonatomic, strong) NSMutableDictionary *dict;

-(id)initWithDelegate:(id)owner responseMethod:(SEL)action;
-(void)cancelRequest;
//-----Server interfaces--------//
//----From UEHtml Server_Interface----[2013.9.23 by Hequn]------<Begin>--//
-(void)ueHtml_getCaseList:(NSString*)rec cid:(NSString*)cid limit:(NSString*)limit firstid:(NSString*)firstid;
-(void)ueHtml_getCaseByID:(NSString*)caseId;
@end
